package storage.beans;

import common.ICell;

public class CellBean implements ICell {
  private Region region;
  private double temperature;
  private float height;
  private int x;
  private int y;
  
  public CellBean(Region region, double temperature, int x, int y, float height) {
    this.region = region;
    this.temperature = temperature;
    this.x = x;
    this.y = y;
    this.height = height;
  }
  
  public String getLatNorth() {
    return String.valueOf(region.getLatNorth());
  }
  
  public String getLatSouth() {
    return String.valueOf(region.getLatSouth());
  }
  
  public String getLongEast() {
    return String.valueOf(region.getLongEast());
  }
  
  public String getLongWest() {
    return String.valueOf(region.getLongWest());
  }
  
  public String getTempString() {
    return String.valueOf(temperature);
  }
  
  public double getTemperature() {
    return temperature;
  }
  
  public float getCellHeight() {
      return height;
  }
  
  public Region getRegion() {
    return region;
  }
  
  public void setTemperature(float temperature) {
    this.temperature = temperature;
  }
  
  public int x() {
    return x;
  }
  
  public int y() {
    return y;
  }
  
}
